# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class NetworkInterface(object):

    def __init__(self, macAddress=None, networkInterfaceId=None, sanityCheck=None, subnetId=None, vpcId=None, primaryIp=None, secondaryIps=None, securityGroups=None):
        """
        :param macAddress: (Optional) 以太网地址
        :param networkInterfaceId: (Optional) 弹性网卡ID
        :param sanityCheck: (Optional) 源和目标IP地址校验,取值为0或者1
        :param subnetId: (Optional) 子网ID
        :param vpcId: (Optional) 虚拟网络ID
        :param primaryIp: (Optional) 
        :param secondaryIps: (Optional) 网卡辅IP
        :param securityGroups: (Optional) 所属安全组列表
        """

        self.macAddress = macAddress
        self.networkInterfaceId = networkInterfaceId
        self.sanityCheck = sanityCheck
        self.subnetId = subnetId
        self.vpcId = vpcId
        self.primaryIp = primaryIp
        self.secondaryIps = secondaryIps
        self.securityGroups = securityGroups
